class C2F(float):
    def __new__(cls,temp):
        temp1=temp*1.8+32
        return(float.__new__(cls,temp1))

print(C2F(32))